<?php
class arr extends arr_Core
{
	public static function extract(array $search,$keys)
	{
		if(!is_array($keys))
		{
			return parent::extract(func_get_args());
		}
		$found = array();
		foreach ($keys as $key)
		{
			if (isset($search[$key]))
			{
				$found[$key] = $search[$key];
			}
			else
			{
				$found[$key] = NULL;
			}
		}
		return $found;
	}
}
